ADP\BaseVersion\Includes\Core\RuleProcessor\PersistentRuleProcessor C

Total Complexity 101
Dependencies 21
Dependents 1
Total lines 706
Lines of code 385
Logical lines of code 234
Comment lines 156
Methods 24
Properties 13

Methods 24

Method Rating Maintainability Complexity Lines of code
applyRangeDiscounts()
D
28
37 128
processWithPrice()
B
35 16 94
isCategoryMatched()
A
55 8 20
isRuleOptionalMatchedCart()
S
63 5 11
__construct()
S
57 3 16
applyProductAdjustment()
S
60 3 13
isRuleMatchedCart()
S
64 3 11
addFreeProducts()
S
63 3 10
addAutoAddProducts()
S
63 3 10
applyPriceToCartItem()
S
64 2 10
process()
S
63 2 10
addAutoAdds()
S
72 2 6
applyToCartItem()
S
64 2 10
addGifts()
S
72 2 6
isProductMatched()
S
82 1 3
getLastExecTime()
S
82 1 3
applyToCart()
S
82 1 3
applyCartAdjustments()
S
80 1 3
matchConditions()
S
80 1 3
checkLimits()
S
80 1 3
withContext()
S
81 1 3
getStatus()
S
82 1 3
getRule()
S
82 1 3
checkConditions()
S
80 1 3